package com.zlx.pojo;



import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.sql.rowset.serial.SerialArray;
import java.io.Serializable;

@Data
@NoArgsConstructor
@Accessors(chain = true)//链式写法
public class Dept implements Serializable {
    private long deptno;
    private String dname;
    private String db_Source;
    public Dept(String dname){
        this.dname=dname;
    }

}

